package cn.ll.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Cuscontact entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "cuscontact", catalog = "lldb")
public class Cuscontact implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String customerid;
	private String customername;
	private String duty;
	private String email;
	private String phone;
	private String mobile;
	private Integer age;
	private Integer gender;
	private String personality;
	private String remark;

	// Constructors

	/** default constructor */
	public Cuscontact() {
	}

	/** full constructor */
	public Cuscontact(String name, String customerid, String customername,
			String duty, String email, String phone, String mobile,
			Integer age, Integer gender, String personality, String remark) {
		this.name = name;
		this.customerid = customerid;
		this.customername = customername;
		this.duty = duty;
		this.email = email;
		this.phone = phone;
		this.mobile = mobile;
		this.age = age;
		this.gender = gender;
		this.personality = personality;
		this.remark = remark;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "name", length = 50)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "customerid", length = 36)
	public String getCustomerid() {
		return this.customerid;
	}

	public void setCustomerid(String customerid) {
		this.customerid = customerid;
	}

	@Column(name = "customername", length = 50)
	public String getCustomername() {
		return this.customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	@Column(name = "duty", length = 150)
	public String getDuty() {
		return this.duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	@Column(name = "email", length = 150)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "phone", length = 150)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "mobile", length = 150)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "age")
	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Column(name = "gender")
	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	@Column(name = "personality", length = 250)
	public String getPersonality() {
		return this.personality;
	}

	public void setPersonality(String personality) {
		this.personality = personality;
	}

	@Column(name = "remark", length = 250)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}